package com.wynn.service;

import com.wynn.pojo.EquipError;
import com.wynn.pojo.Equipment;
import com.wynn.pojo.Result;
import java.util.Map;

public interface EquipmentService {

    public Result selectEquipCondition();

    public Result selectAll();

    public Result add(Equipment equipment);

    public Result delete(int id);

    public Result edit(Equipment equipment);

    public Result getEquipName();

    public Result search(String name,String line,String equipNum);

    public Result selectEquipError();

    public Result selectEquipAva();

    public void addEquipError(EquipError equipError);

    public void editEquipError(Map<String,Object> editMap);

    public void delEquipError(int id);

    public void fixEquipError(EquipError equipError);

    public void checkEquipError(EquipError equipError);

    public Result equipErrorSearch(String equipNum,String productLine,String status);

}
